package persistent.factory;

import freemarker.core.ReturnInstruction.Return;
import persistent.dao.AdminDAO;
import persistent.dao.NjobDAO;
import persistent.dao.PhotoDAO;
import persistent.dao.ProductionDAO;
import persistent.dao.RewardDAO;
import persistent.dao.SchinformationDAO;
import persistent.dao.ScoreDAO;
import persistent.dao.StudentDAO;
import persistent.dao.WorksDAO;
import persistent.imple.AdminDAOImpl;
import persistent.imple.NjobDAOImpl;
import persistent.imple.PhotoDAOImple;
import persistent.imple.ProductionDAOImpl;
import persistent.imple.RewardDAOImpl;
import persistent.imple.SchinformationDAOImpl;
import persistent.imple.ScoreDAOImpl;
import persistent.imple.StudentDAOImpl;
import persistent.imple.WorksDAOImpl;

public class DAOFactory {
	public static StudentDAO getStudentDAO(){
		return new StudentDAOImpl();
	}
	public static AdminDAO getAdminDAO(){
		return new AdminDAOImpl();
	}
	public static WorksDAO getWorksDAO(){
		return new WorksDAOImpl();
	}
	public static ProductionDAO getProductionDAO (){
		return new ProductionDAOImpl();
	}
	public static PhotoDAO getPhotoDAO(){
		return new PhotoDAOImple();
	}
	public static NjobDAO getNjobDAO(){
		return new NjobDAOImpl();
	}
	public static ScoreDAO getScoreDAO(){
		return new ScoreDAOImpl();
	}
	public static RewardDAO getRewardDAO(){
		return new RewardDAOImpl();
	}
	public static SchinformationDAO getSchinformationDAO(){
		return new SchinformationDAOImpl();
	}
}
